he got beaten so he cried then decided if he couldnt beat him he better take the easy way out and side with him

although no matter how good Gaara becomes he will always be evil on the inside and one slip of emotion could end up killing someone.