I think it makes sense rather than just having the hallucinations happen randomly like in fnaf 1. It could be a representation of stress and fear that they're about to die.