From what I read they used to use it for private use, so they would have clients and make games for them and they decided to open source it in the end.
I remember when they first released it as free software, it's come a long way since then. It's remarkable to see how much traction they've gotten. Bravo!