My former 2002 Dodge Ram 2500 SLT+ would do a similar thing, usually very intermittently and at the most inconvenient time, like at night when we would tippy-toe to the truck late at night in a campground to retrieve something. Dealer said it was the CTM. They changed it a couple times, which seemed to put the issue at bay for a few months...then it would return. The CTM became obsolete through dealer channels and difficult to requisition, so we learned to live with it. In my troubleshooting I found one schematic in the FSM which indicated the passenger and driver doors have a switch on the lock mechanisms that are part of the alarm circuit...and, no longer serviced through dealer supply channels. Since the issue was intermittent and life events kept us from our long camping vacation journeys, I never did dig into the doors to see if the switches could be cleaned up or "adjusted" before it was traded in after a long and happy relationship.