off

particle

A thing that was touching or stuck to a surface comes away from it, leaving a gap.

Where the picture shows up

Not the same as “out”

Was it on a surface or inside something? Leaving a surface is 'off'. Leaving a container or space is 'out'.

Root

Old English 'of', meaning 'away, away from'. It was just an unstressed and stressed form of the same word. Around the 1600s the stressed spelling 'off' split from 'of'. It comes from Proto-Germanic *af and relates to Latin 'ab' and Greek 'apo', meaning 'away'.