Why do people say “no offense”

when they’re about to offend someone?