The cap is on the cup suggests that the cap is fitted to the cup. The cap is over the cup means that the cap is higher than the cup with no suggestion that is fitted to it. The cap is on top of the cup means exactly as it states.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.