Do you have a public source for that? From what I’ve heard YouTube has been profitable year years at this point.
YT financials and P&L were not broken out in audited financial statements back in the day.
Allocating costs for things from Google that they use (e.g. the Ads system) is difficult. The problem with any subsidiary.