Except one is an EV, while the other is a ICE. Apples to oranges. Not to mention that the RAV4 has been in production since 1994.

If Toyota doesn't have it right, by now, they never will.
But regardless of the car, consumers need to look beyond the score, which is a simpletons view of reliability. Look at what issues are repetitive, and serious enough to have resulted in enough complaints to cause recalls, accidents, or even deaths, etc.
Point being - Not all issues are of the same magnitude. But when you see CR's simpleton view of a car's reliability, it often leads to the wrong conclusion.
Known issues over the years with the RAV4.
Experiencing Toyota RAV4 problems? Learn more about common issues, important recalls and potential solutions for these problems.
www.driversadvice.com
Potencial fire risk.
"Overall, the most serious problem with the Toyota RAV4 is the latest recall about potential fire risk caused by a short circuit of replacement battery. Other problems may include transmission issues, some minor engine problems on high-mileage cars, and brake issues.
Powertrain and Transmission Issues
RAV4 owners have reported many powertrain-related issues. The problems are automatic transmission, transmission solenoid, and transmission noise issues. Many owners said that their cars jerked or hesitated while attempting to accelerate. The reason is that the transmission is faulty, and the ECM unit is malfunctioning. This issue is mostly found in RAV4 models from 2001 to 2003.
[1]
Engine Problems
Toyota RAV4 owners have reported a variety of engine-related issues. Excessive engine oil consumption is one of the most prevalent engine-related problems.
There is also a water pump leak issue, where several owners reported that the pump leaked fluid without warning, sometimes accompanied by loud engine noise. This water pump trouble appears in the Toyota RAV4 as early as 25,000 miles.
Steering system Issues
There have also been complaints about the vehicle’s steering. Many RAV4 owners have complained about annoying clicking noises from the steering column. This usually occurs during a low-speed turn or reverse attempt.
Others reported that the steering wheel may fail while driving, sometimes resulting in crashes
[4]. The failure mileage was frequently over 50,000 miles, and the failure occurred on pre-2010 Toyota RAV4 models.
Battery Issues
Many fifth-generation RAV4 owners have complained about battery drain problems, even though their cars were only a few months old. The vehicle must be jump-started if the battery runs out of power. Batteries for cars typically last 3 to 5 years.
There must be something in the RAV4 that is continuously draining the battery, even when it is just sitting idle, based on the numerous reports of RAV4 batteries going dead indefinitely.
Fuel System problems
The fuel system operates in tandem with the engine to drive the SUV forward. However, the system in this vehicle needs improvement. Some RAV4 users claim that the fuel tank warning light will turn on even when the car has more than 4 gallons of fuel left in the tank.
Brake Issues
Brake problems have been reported to the NHTSA by many RAV4 owners. The brakes won’t stop the car if there are bumps in the road. The car jerks, the brake pedal trembles, and it feels like you’re pushing against the air
[6].
When this happens, the car has neither warning lights nor sounds. Even after repairs, it is common for a car’s brakes to malfunction again after driving over a rough patch of pavement.