Gate sourness is a manageable behavioral issue in horses.
Prevention
Use positive reinforcement, maintain a consistent routine, desensitize your horse gradually, avoid punishment, vary your gates, and start training young.
Addressing the Issue
Approach calmly, use counter-conditioning, and seek help from an equine professional if needed. Never pull, yell, or use harsh equipment.
Patience and consistency are key to building a positive association with the gate.