The problem is momentum. These ships weigh thousands of tons so something as simple as coming to a stop is difficult. The ship probably knew it would collide with the bridge well in advance but had no way stop of avert the ship due to it's sheer size.