Those opposed to President Biden would criticize no matter what he did. Had he chosen inaction (allowing an attack on U.S. targets to go unanswered), then the criticism would be justified as it would have been a failure in his Presidential duties. Since President Biden chose to defend American interests by retaliation, his opponents are left with political posturing.