Bacterial or fungal infections can cause diaper rash. Bacteria and fungi thrive in moist, warm environments, and your baby's diaper area is the perfect breeding ground.