How does a fly walk on the ceiling?
Suction caps on their feet. To me the real magic is how they land upside down. I found the though some research. “On approaching the ceiling, and while still flying right side up, flies extend their forelegs over their heads till they can grab a landing spot with the suction caps in their feet. Their momentum then enables them to swing their hind legs up, like a gymnast on a trapeze.