Might be the typical 2-to-1 bump some 8 speeds have in the RAM's. I've noticed it in multiple Mopar vehicles, except for the V6'es.
The transmission is rock solid. Many of my friends have some version of it in their cars and even Rolls Royce uses them. Chrysler's programming is just ... not very good (hoping I'm not stepping on anyone's toes here). The transmission is also constantly picking up new patterns. If you'd do a lot of stop and go, it smoothes out again.
Dealer can also make it learn from scratch again (or you can disconnect the battery), which will solve it temporarily, but it'll pick up some weird pattern again sooner or later and do it again for a little while — if it's still the same issue.