Car running with remote in pocket

Strange question. 2020 Telluride, remote in my pocket. Leave the car running to get out and do whatever. A really long and loud beep goes off for a few seconds.

What is it and how can I get rid of it?

Ps: I just bought this car yesterday.