The rationale behind it is the Law of Conservation of Mass where it states that matter can not be destroyed nor created. It can transformed, but neither destroyed nor created. In a chemical equation, this condition must be met. So, whatever the amount of reactants you started with should also be amount of product you end up with.
If the equation is not balanced, it means that matter is destroyed somewhere and that is not possible.