It ties more into logic and the branching away from essentially platonism is more recent than you might think. Physics, well. . . school curriculum has thrown away every good thing about learning. Logic is not a college course, or a thing to be first encountered in discrete circuits, or in some half-ass proof in high school.
Math appeals to logical people and they travel down logical roads. Or they become accountants. Rules maybe make them feel safe.