When you get bitten by an insect, your body reacts by releasing histamine. This histamine triggers the itch and swelling response. After bite works by using a small amount of ammonia to neutralize the pH of the skin, which in turn reduces the release of histamine.