Doohan and Tsunoda specifically faced abuse from fans of Franco Colapinto following incidents in Imola.
The seven-time world champion, who debuted in F1 in 2007, noted that the sport's increased fame and the prevalence of social media have made it more intense for today's drivers compared to his early career.
Despite the challenges, Hamilton praised the maturity of young drivers in handling the weight of online scrutiny and increased demands outside the car.