More than profitability, the main reason why big studios don't release their tools is mostly due to licensing and the huge amount of work needed to make them usable by modders. A lot of games are made using licensed tech and tools in addition to their own which is an absolute nightmare when it comes to releasing all of that to the public, as you can imagine.