Trees are anchored to the ground. Being heavier just reduces your ability to stop.
EVs carry their weight lower to the ground. SUVs and pickup trucks are more top heavy. Passenger cars have a higher probability to rollover, but not that much greater than an EV.
A lighter car requires less work from the crumple zone to decelerate the car into non-fatal territory than a heavy car.