And chess.com has more money to spend, so they can have things like paid grandmasters streaming, video courses, offical tournaments with large prizes. It's not all ad based, they also have a subscription model that opens more features.
It's good that both exist. I spend 99% of my online chess playing time on Lichess but there are also lots of people for who it is the other way around.