Well, it kind of is a question, since I asked it as I would like to know why people do it. Feel free to ignore it though, there's plenty of other comments more on topic for you.
My work (and hobbies) involve lots of linux specific programming. Most of the things (but not all) can be done on MacOS, but almost always linux is the better tool for me, getting my work done. Developing blindly on MacOS, not knowing whether (and how) will it run on linux can't be as good as developing on EXACTLY the same OS that will later run the production version. Using exactly the same (to the exact version) diagnostics tools as on the production server is a thing that I prefer. Especially having seen bugs that only show up on specific versions of the platforms.
Sorry if my previous comment was rude. Didn't mean to.