Ultimately, the responsibility for safety of the vessel is ALWAYS with the captain of vessel, Pilot vessel or not
The ship hit a pillar of the bridge, so someone at the wheel did not pay attention, had power failure, or the vessel was gong too fast to turn in time or both.