Imagine the unpassable gap exists in both directions. Can a piece move over it?
I'll just illustrate my question with an example, can the ant move to the tiles marked yellow?
Yes,
the ant can move to all spaces marked in yellow. The only restrictions to movement are that it must remain attached to the hive and you can't move into spaces you cannot slide into.
It can cross these "caves" because it continues to be touching the hive when it moves, and that continual touching to the hive (and the sliding rule) are the only requirements.
When moving any piece (but the hopper and when jumping the beetle up onto the hive), it must always remain in contact with at least one tile during the entire movement from beginning to end.
The ant can make this move. It's unclear from the rules around the ant itself, but you can derive it from the description of a spider's movement and the statement in the FAQ that a spider is strictly weaker than an ant.