Red Sox are #9 in OPS+
Red Sox are #5 in ERA+
So yeah, the pitching has been better than the offense, especially lately.
But there isn't a vast gulf between the two.
It's just really hard to score runs against major league pitchers.
You score most of your runs against pitchers who don't have their best stuff that day or who just aren't very good and are in there to eat innings.
The game is dominated by pitching.