If I understand your question (and it depends a lot on the word “the” in there) I’m not sure it makes sense.
Math is a methodology human beings to model reality. It came from our brains. I wouldn’t call it a separate creation, per-se, any more than language. It’s a natural result of us being able to think logically and coming up with a logical modeling tool to help us do things.
So you don’t think math is “discovered” but “created”?
You don’t find it to be “remarkable” that what was originally developed to do “inventory” meaning keeping track of ‘how many’, and ‘how big’; then is later shown when “abstracted” away from ‘accounting’ to have rich fullness and seemly endless stream of properties and structure?
Where do laws of logic come from, how do we know they apply through space and time?
Why does the universe follow mathematical laws?
Numbers are concepts, contained wholly in the mind....where did the concept originate? Were there numbers before the was a mind to conceive them?
And in thinking logically, we follow the rules of logic, by definition.
Which came first, our ability to think logically, or the rules of logic? How were we able to think logically before there were rules of logic? Where did the rules of logic originate, by which we are able to think logically?
If math and language are “natural results” why is math often difficult for people to understand? Do dolphins whales and chimps arrive at the same natural mathematical results?