What if there was some turbulence when the starfish wanted to climb up the glass..Perhaps a release of bubbles that would make a temporary local cloud. when it dissolved the starfish is on the glass, same routine when it wants to come off.
Ah, you are talking about the
"wishing star" fish!