Google Cloud is not profitable because they invest all revenue into growth, as they should be doing. If they focused on profitability they would have never caught up with AWS.
(I'm ex-GCP)
(I'm ex-GCP)
https://www.canalys.com/newsroom/worldwide-cloud-market-q320