I wish I agreed with the larger optimism. Even before last season I didn't really see a path for this team to do anything other than maybe steal a wild card or two during JT's best years (which also includes Nola being under contract and Hoskins being affordable) and things have only gotten worse this year (i.e. Haseley and Kingery, and also Howard's trajectory being slowed).
They could still be a contender this year if the offense comes around and you have to think it will but it is indeed the offense that is killing them right now. Strikeouts up while power also down, an almost nonsensical combination. Not good with RISP. And defensive liabilities at most positions besides catcher, which means those guys had better hit.
This is definitely Klentak's mess at this point, but most of his biggest failings are still connected to the Amaro era - he inherited almost nothing from the Hamels trade (just Alfaro really), blundered further with the players he committed to (Herrera, Kingery, even Pivetta) and then aggressively opened an expensive three-year window of contention that is soon closing, even if it can be extended another year or two. In the wake of Klentak's firing there were also a lot of anonymous sources that boiled down to, "he didn't listen to Pat Gillick," but to me Gillick is still most responsible for the 2016 draft (and the 2015 trades for that matter) and they certainly listened to him enough to keep Almaraz (and Jordan).
But, that doesn't mean they still can't make some noise this year. The margin for error is just slim as usual. Some teams can buy their way past injuries and some teams can promote past them. The Phillies can't. (But that's why Maton has been so refreshing, and you still have to hope against hope for Moniak.)
(Was writing as Philsmania also posted; agreed. It's possible Harper waits out the next rebuild but if they can't make the playoffs either this year or next neither JT nor Nola are on the Phillies in August of 2023. I don't really see how Girardi waits out a rebuild either, but that's probably up to him).