This is because of the use of completely different display technologies: OLED vs.LCD.
Most of Apple's current offerings, like most premium Android phones, use OLED technology where colors are more vibrant, contrast is higher, and dark areas darker but at the cost of some heat generation as each individual pixel is lit by itself; if it is black it is off, if it is to be on, it's on at various brightness levels as needed to form colors on-screen.
If you want a phone where the display will stay on at full brightness all the time, look for a phone with a backlit LCD display where LEDs light the area behind the LCD display and you see the areas of light the LCD lets through.
Of the current iPhones, only the iPhone SE has an LCD display.
Another alternative if you need a backlit LCD screen would be to use a cellular-enabled iPad as your mobile device.
Note that most premium Android phones like the Samsung Galaxy S21 Ultra and Google Pixel 6 have also moved to an OLED display for the same reasons Apple did; to get an LCD display you have to move to a smaller or lower-end model or a tablet just as you need to with Apple's devices.
Complaining you can't have the phone at full brightness for long periods of time is like complaining you can't drive your car with the gas pedal floored all the time.
Most importantly, if using your phone becomes a hazard to driving, turn it off and put it away until you reach your destination.
(I'm frankly still amazed Uber and Lyft haven't yet been sued for their drivers being distracted by having to have their apps on. Also food delivery services.)