It's actually just a bug that's fixed for the next upcoming version. Underground discoveries can be 'found' when light touches them. This would happen to deep underground dungeons because I had an issue where the coast waters would go all the way to the bottom of the world.
This thread was added on March 18, 2020, with posts from Sleipnir.