Above he spoke of how they are well prepared for the coming judgment; here he speaks about the form of that judgment. And first he sets out the judgment as regards the punishment of the wicked and the rewards of the good; second, he speaks about each part individually, at "in a flame of fire." And first, he sets out the judgment as regards the punishment of the wicked; second, as regards the rewards of the good, at "when he shall come."
As regards the first, he speaks above about the "tribulations which you endure for an example of the just judgment of God." Here he adds next, "if nonetheless... it is just"; "if" is written for "because." Hence other texts have "if indeed."
Or "if nonetheless" should be taken in connection with "for an example of the just judgment," as though to say: it is just that you suffer these things if nonetheless you merit thereby. But the first text and explanation is better.
"It is just with God to repay tribulation." "Rise up, judge of the earth, render retribution to the proud" (Ps 93:2). "Woe to you who despoil, shall you not yourself be despoiled?" (Isa 33:1). "Tribulation and anguish" (Rom 8:35).
Source: Commentary on 2 Thessalonians