Could be many reasons.
But it's well known fungal infections often get secondarily infected with bacteria. Even a mild fungal infection can get severely infected with bacteria. Antibiotics treat the bacteria but make the mild fungal infection severe. And then the bacteria come back worse.