I mean, its probably intended. If someone goes to clear out a cave, then it makes sense that its cleared out. I know the enemies respawn over time but I don't think there was ever a case where all of the enemies in a cave would respawn just because someone "new" to that cave went into it.