edit - one of the consequences of which would be foreign investors hiding the existence of useful minerals on any land they own and are using for something else, so it doesn't get taken away from them.
Separating ownership of surface rights and mineral rights is fairly common in the U.S. as well, it's just that it's usually another private company that retains the mineral rights, not a publicly owned company. For example, the house I grew up in in Indiana did not come with ownership of mineral rights. The company that developed the subdivision sold us surface rights to the 1/4-acre lot our house was on, but retained the mineral rights underlying the entire subdivision (presumably just in case there turned out to be something there).
The question posed was not:
"Why are we selling something considered a national resource?"
It was:
"Why are we selling something considered a national resource to foreign owners?"
edit - also, I fully support mixed market economies with nationalised infrastructure, I think they seem to get more benevolent outcomes, but not with protectionist markets on the bits that are privately owned.
The USA has plenty, we just don't have the underpaid labor to mine it and actual regulations that make it more expensive to mine.
Ironically some of the best land for it in the USA is owned by Canadian corporations. Why are we selling something considered a national resource to foreign owners?