Original: This is the origin of their name, as they are quite literally "pasted" onto the body part.
Simplified: Pasties are usually applied with a special glue or tape.