Years Crosby was in the running for a Ross/Hart and competed directly against Ovechkin/Malkin include:
2009. Both Ovi and Malkin are a threat, Crosby finishes 3rd
2010. Only Ovi is a threat, Crosby finishes 2nd
Thats it. Twice, 2 years. Most years, either Crosby had a major injury and lost a lot of time (2008, 2011, 2012, 2013), or Ovi had a big down year (2007, 2011, 2012), or Malkin had either a big down year and/or injuries. Maybe you include 2013 there, since Crosby only missed 12 games - but in the end, those 12 games are 1/4 of the season, and I think everyone believes Crosby wins both Hart and Ross without injury.
Years McDavid was in the running for a Ross/Hart and competed with Kucherov, Drai, Mack or Matthews for awards include:
2018 - Kuch/Mack a threat. McDavid wins Ross, but Mack finishes ahead for Hart
2019 - Kucherov is a threat and wins, McDavid second
2020 - Drai + Mack a threat, McDavid loses out on both hart and ross
2021 - Drai is a threat (sort of), but McDavid so dominant he is clear #1
2022 - Matthews is a threat to hart, and beats McDavid. McDavid with Ross
2023 - McDavid with another dominant season to sweep Ross/Hart. But Drai/Kuch his biggest threats
2024 - Kucherov/Mack have an all-time year, beat McDavid to Ross/Hart. McDavid finishes 3rd
2025 - McDavid in the race for Hart/Ross - but top 3 in league right now are...Mack/Drai/Kuch
To answer the OP, this is 100% McDavid. The competition for top trophies like ross and hart has been absolutely incredible throughout his prime, and that's now for 8 years straight.
I think after Crosby/McDavid, Ovechkin is the 3rd best player here, and Malkin has a good argument for 4th (I probably have him 5th behind Kucherov by now). But - it's not about how good those two players are, it's about who was competing vs Crosby and McDavid every single year, and Crosby simply didn't have the same level of consistent competition.