Both objects and behaviour can be described as disgusting. The term could equally apply to someone who cheats other people out of money as it could to the sight of rancid food or the taste of sour milk. That's not just a linguistic quirk. Some scientists believe that the revulsion we feel towards immoral behaviour isn't based on our vaunted mental abilities, but on ancient impulses that evolved to put us off toxic or infectious foods.
It seems that your facial muscles agree. Hanah Chapman from the University of Toronto has found that both physical and moral disgust cause the levator labii muscles, which run from your eyes to your mouth, to contract. The result: you wrinkle your nose and you purse your lips. Nasty tastes, gross photos and foul play all cause the same physical reaction and the same subjective emotions. When people say that moral transgressions "leave a bad taste in your mouth", it's more than just a pretty metaphor.