Isn't Valve known for letting employees work on whatever they want? I'd imagine they already had a bone to pick with MS and wanted to be able to play games on Linux. Before that, things like the controller also seemed like "scratch your own itch" projects. They're good at making pieces that naturally fall into place.