It is simply pointing out that a common food is off limits to a good portion of the student population. One they could eat if it did not have beef in it.
= = =
This would apply to Hamburgers, also.
Not really. Because one would be rather stupid to think that hamburgers might not have beef in them. You would not be stupid to think ice cream should not have beef in it.