You searched for: “speleogenesis”
speleogenesis
The processes by which caves form.