Google does include YouTube’s financials, they just bundle them with other things. Having a separate line for YouTube has zero impact on the company’s overall financial situation and thus likely has ~zero impact on it’s stock price.
I suspect if anything they don’t want to break out the financials because it would invite more competition. That or YouTube is tied so closely to the rest of the company it’s hard to separate the numbers.