The remote and the trunk light are on the same circuit. The fob won't work because it thinks the hatch is open. It detects that the hatch is open by measuring the current through that circuit.
Try turning off the trunk light switch and seeing if your remote works as expected.
If that doesn't work, try removing the trunk bulb. You can pop out the plastic lense or adjacent plastic panel with a plastic trim tool, guitar pick, or small flathead screw driver.
If that doesn't work, try measuring the parasitic current draw through the trunk light and remote fuse in the fuse panel, which is above the trunk release lever to the left of the steering wheel. https://youtu.be/lRcj1fQcWwU if you aren't comfortable doing that yourself, take it to a auto parts store and see if one of their staff will measure that fuse for you.
If you havent made any electrical mods to your car, see if you can get this fixed under warranty.
Try turning off the trunk light switch and seeing if your remote works as expected.
If that doesn't work, try removing the trunk bulb. You can pop out the plastic lense or adjacent plastic panel with a plastic trim tool, guitar pick, or small flathead screw driver.
If that doesn't work, try measuring the parasitic current draw through the trunk light and remote fuse in the fuse panel, which is above the trunk release lever to the left of the steering wheel. https://youtu.be/lRcj1fQcWwU if you aren't comfortable doing that yourself, take it to a auto parts store and see if one of their staff will measure that fuse for you.
If you havent made any electrical mods to your car, see if you can get this fixed under warranty.