Stop in for a cup of coffee

How come the word appointment has ointment in it????
slippery ! Get out of it easily