Interesting point.
My 2020 Equinox and my hybrid both will sound an alarm if the doors are closed, the engine is running, and a fob is not inside the car. That function is optionally turned on with the Equinox but cannot be shut off on the hybrid.
There were many deaths early on caused by hybrid owners getting out of their cars in the garage with the "engine" running but the internal combustion engine was not actually running. Then later on the gas engine would start up, particularly in the winter, and fill the home with exhaust fumes.
When I first got my hybrid, my first pushbutton start car, I left it "running" a few times but the loud beeping as I walked away from the car let me know.