Where do you think the foundations of mathematics come from?
Logicism: mathematics is an extension of logic
Formalism: it’s “merely a game” where one picks axioms and applies logic to them to get results.
Intuitionism: it comes from how we as humans perceive time and/or space.
Platonism: we explore a transcendent realm of pure forms.
(there are other schools, and the seriously “undecided” too)
This question is in the General Section. Responses must be helpful and on-topic.