Being able to hit that Pilon as head on as you can see from the overhead pictures - Yes, this was done on purpose - how? Ship's GPS overridden and steering right for that pilon. AND this took more that a minute, these large vessels move slowly in harbors as you likely know.
Mass X Velocity
The ship’s captain should know if he lost control or not, course it will be hidden if it was hacked. Suspicious it happened to the most strategic bridge in America.
Anchor was dragging but to think that it got caught on the bottom at the perfect time to make the ship turn is not likely at all.
Was it done by those on the ship,hard to say. Lots of unknowns.