Why do you put spaces before punctuation?
Some languages, like (European) French, put spaces before question marks[0] and exclamation marks[1] and people might be so used to doing it that they even do it when writing in a different language.
[0] https://en.wikipedia.org/wiki/Question_mark#Stylistic_varian...
"Toujours un espace avant et après: le point-virgule, le point d'interrogation, le point d'exclamation et les deux points."
https://grammaire.reverso.net/les-espaces-et-la-ponctuation/
But for French Canadian variations the indication is just a "smaller" space.