Quoted By:
It's simple really. Most Pokemon want to be STRONG and if you beat them then they'll be warm up to you, but how much depends on each Pokemon and their circumstance. But if you continue to properly train and take care of them they'll like you more because you make them STRONGER. That's why friendship increase/decrease by winning/fainting.