Mathematics.
f(x,y) is a function of two different random variables. Here f(x,y) is nothing but the Joint distribution function of both variables X and Y. Similar to what we observed in single random variable, sum of all the probability of a joint distribution also equals 1 i.e. Marginal Distribution Marginal