i’m not a mathematician, so i might explain the joke a bit inaccurately: a möbius strip in two dimensions is non-orientable, does not have an “up/down”; a  is a non-orientable 3-d object, which does not have an inside/outside, hence the ship is in the bottle.