The difference there, in my opinion is that one scenario (the defiler dusting a shrine) instigated conflict and should have consequence for their action. The person who set up the aegis is the defender and thus reacted to something belonging to him …