One could say that the Ace Attorney series has seen a slight resurgence over the past few years. Capcom shipped Phoenix Wright: Ace Attorney Trilogy on Switch in 2019, followed by The Great Ace Attorney Chronicles in 2021 (which were localized for the first time). Apollo Justice: Ace Attorney Trilogy is also coming out very soon. The good news is...
While I try not to delve too deeply into marketing speak, I think they are only porting all the games because they are selling well, and if they are selling well enough, new entries would surely follow.
Capcom is doing well for Resident Evil, by both remaking older inaccessible games and creating new ones, hopefully they will do the same with Ace Attorney and their other franchises too.