Because they are limiting. I’m personally in the iOS boat, and it’s great until you try programming on your iPad instead of your non-closed MacBook.
Phones, consoles, tablets are closed because the companies that build them didn’t have competition from open platforms. Computers are still open because they still have competition, if they didn’t they’d likely all be chrome books.
I know it’s sort of hypocritical, but the walled-garden is only nice until it’s curators considers your needs to be weeds.