He was being pulled in two directions: between his dedication to the Order and his love for Padmé, but even Yoda's guidance could not help him. This is a central theme to Yoda's character ...
Then, we hear Yoda's theme and see Luke's X-wing emerge, but this time, the doubting Skywalker has learned to trust the Force and lift the ship from the water. "You have that power, too." ...