Look at my sweet child!
Snape was mean because he was a double agent. He loved Harry, but couldn't get close or sympathize with dumbledore's army and that stuff because Voldemort would suspect him. Don't you understand? Snape was PUTTING ON A SHOW. That's NOT his actual personality. Read the books.