To chime in in case Jay is not available being at work (I’m on my break)
You ask difference:
Bacterial infections generally occur when a fish’s immune system is suppressed by something, such as stress or trauma. Since pathogenic bacteria are always present in aquarium water, they are always ready to take advantage of a fish with a damaged immune system. Symptoms of external bacterial infections include decaying of the fins (fin-and-tail rot), causing them to appear red or brown, or body ulcers, which are red, swollen lesions that generally start in one area and then spread.
Fungal diseases are a rare occurrence in marine fish, but they can occasionally occur after an injury or parasitic infection. Similar to pathogenic bacteria, pathogenic fungi are always present in saltwater aquariums, ready to attack fish with lowered immune systems. It is very difficult to diagnose a fungal infection, because it almost always occurs with a parasitic infection. If you suspect one of your fish has a fungal infection, remove him from the tank immediately and try treating him with malachite green, methylene blue, or one of the various treatments out there such as myacin based