To be exact, the US has been a player in this war all along providing intel, logistic and munitions support to Israel. And Trump himself has been an active player who with one tweet can trigger an evacuation from Tehran.
So his decision to formalise US participation is little surprise after first offering Iran a chance to surrender. A necessary prelude to provide him justification for activating the US military.
Predict he intends a short, decisive and surgical intervention before he quickly retreats to deal with the fallout at home.