$F=ma$, so force and acceleration are directly proportional. Force and
mass are also directly proportional. Observationally, force alters
acceleration and mass is constant but the equation itself does not
dictate that the mass must be constant.
This is partially true - we observe that there is a quantity that is preserved and that this is a resistance to change in motion (mass). There are actually two notions of mass, inertial and gravitational. It's been observed that these two quantities are always equal, and these give us information about an objects willingness or unwillingness to change. This can help you understand why it might act as a constant - it's really weighting how much the motion can or can't change.
Is the answer just that the math is meant to describe the observation
and that's just how it is?
I personally believe the math is the root of things in physics, not the other way around, so it's good to question what the math means. You can ask different types of physics enthusiasts to get different opinions.
As a side note, when a new equation is discovered, how would you know
what is variable and what is constant without just making an
assumption?
When you are looking into theory, you have to understand what each quantity "is", meaning what its form is. In $F=ma$, the theory is formulated such that $m$ is a constant, and $a$ is the acceleration vector, meaning $F$ must be a vector. You can also track things through the math. For instance, I just said that given that $m$ is a scalar, and $a$ is a vector, $F$ also must be a vector.
It's worth noting that actually what you are learning is the nonrelativistic limit of physics. If you look at more advanced and more complete forms of physics, mass actually can change, and this is treated in relativity courses where mass becomes more synonymous with energy. Also, in general relativity, acceleration is the root of forces, not the other way around.