Why does a rational number plus a rational number or a rational number multiplied by a rational number equal to rational number?

The way in which the binary functions, addition and multiplication, are defined on the set of rational numbers ensures that the set is closed under these two operations.