Pigs, like all other animals, are creations of God. We are not supposed to treat them in any manner different than other animals. The only thing that Islam explicitly teaches is that pigs are prohibited to eat and that their saliva/sweat is impure and must be washed off after touching them.
There are no other instructions from God or the Prophet Muhammad which teach us to treat pigs differently than other animals. It is neither prohibited to look at them, touch them, or study them.
It may be argued that developing a dislike for pigs can have a beneficial psychological effect on Muslims and help to ensure that they maintain the Islamic rulings concerning the prohibition of eating pigs and their impurity. However, this point is open to discussion and hatred for pigs may have negative consequences on the psychology of Muslims as well.
Allah knows best,
Imam Mustafa Umar