Misdirection is used in magic, and jokes.

Something is going one way, then goes another – like the magic tractor that went up a hill and turned into a field.