2018 Hyundai Elantra - Ghost in the trunk

the trunk pops open at night in the driveway

Car under warranty. Maybe you should ask the dealer’s service facility this question.

Where do you keep your keys at night?

Some Hyundai’s fobs have very sensitive buttons for the trunk release, putting your keys in your pocket/purse can push the button enough to open the trunk. Cat stepping on the fob?