Let's look at the franchise:
View attachment 322132
The first movie, P1, was well received critically and did well at the Box Office and made a profit.
Profit is determined by figuring that the cost of marketing is an additional cost at about half the production budget (and we know the PotC movies are heavily advertised), and that Disney only gets about half the BO gross (higher domestically, lower internationally).
P2 wasn't as well liked as P1, but, it wasn't hated. Audiences showed up. the BO increased, and the profit went up.
P3 started to show fatigue amongst critics. It's BO was almost as much as P2, but, its profit was way down. The budget for P3 was more than twice that for P1. (For comparison, since 2000, the average budget for a Disney Studios movie is $86 million... Christopher Robin was $70 million, and new Jungle Book was $177 million).
P4 was hated critically. Even though it made as much at the BO as P2 and P3, it lost money at the BO because of it's ridiculously insane budget of $411 million.
You can tell Disney had enough of that budget inflation because P5's budget was significantly lower... but then so was its BO. Not only had critics tired of the franchise, but the two previous sub-par movies drove down attendance for P5, making that one also a money-loser.
All this talk of rebooting is, I'm sure, partly a ploy to let Depp know he's not going to be paid like he used to if he can't make this franchise profitable, and part of it not being profitable (aside from just not being a good movie) is insanely high budgets inflated by insanely high star salaries. But that should go without saying since his star-appeal didn't save Alice2 from being a cinematic and financial disaster.