I think there is just more demand for SWEs. Nearly every company will have software engineers, but not every company has data scientists and even the ones that do will almost certainly have more engineers than data scientists.
After all, you can't use data science to optimise your product or service if you don't have sufficient engineers to build it and maintain it in the first place.