A party doesn't need to hold a primary if they don't want to, they could just present a candidate.
As they often do when the incumbent is a member in good standing. The Republicans held a token Presidential primary in 2024, but they didn't hold one in 2020, and the Democrats didn't hold one in 2024.