I don't have time to post an answer rn, but basically, the location of the caves changes occasionally. It isn't a daily event, but it isn't a static cave. Bulbapedia says if you don't reach the cave fast enough, it disappears and the other one appears, but on there and on other sites, I didn't see how long it takes for the cave to disappear.