That's not the intention of these laws though. The basic presumption is "it's a free country, so people should be able to discriminate for whatever reason they want". However, when there's an overwhelming need for it, we will make carve-outs for specific situations. In particular things that people really can't change (race, nationality, sex) or that we deem as a society that they shouldn't have to change (religion).
For anything that doesn't fall under these categories, it's fair game to discriminate. You don't like vegetarians or people who play tennis? You can discriminate. You're might be a f* moron for doing so, but we don't have laws against that.