Why do dwarven mechanists get the ability to create dungeons?

I’m not sure how the exact build would look for the Mechanist would go, but I have a sneaking suspicion that they might have also qualied for a hideout type stronghold if you and your player were more inclined towards that style.