Why sailors were standing on masts during Brooklyn Bridge boat crash

Mexican navy ship crashes into Brooklyn Bridge
Video shows people fleeing the busy stretch of sidewalk along the East River as a Mexican navy ship collides with the Brooklyn Bridge in New York.
BROOKLYN - Sailors that were standing on the mast of the Mexican naval ship that crashed into the Brooklyn Bridge were "manning the rail."
‘Manning the rail’
Dig deeper:
According to the U.S. Navy, manning the rail is a tradition that evolved from the common practice of "manning the yard." The salute involves crew members standing evenly spaced out along the ship and cheering to honor distinguished persons.
The U.S. Navy adopted the practice in 1824 and uses it in passing honors to the President of the United States, rulers of foreign nations or members of a reigning royal family.
FOX 5 NY's Michelle Ross spoke with former merchant mariner, Dr. Sal Mercogliano, to discuss the footage of the ship crashing into the bridge.

Former merchant mariner on the Mexican naval ship collision
FOX 5 NY's Michelle Ross speaks with former merchant mariner Dr. Sal Mercogliano about the Mexican Navy ship that crashed into the Brooklyn Bridge.
Mercogliano explained that the crew members on the mast were manning the rail, otherwise known as "dressing the ship," to show the vessel saluting the country they are leaving.
Mexican naval ship crashes into Brooklyn Bridge
The backstory:
The Mexican naval sailing ship was on a global goodwill tour when it struck the Brooklyn Bridge in New York on Saturday, snapping its three masts, killing two crew members and leaving some sailors dangling from harnesses high in the air waiting for help.
New York City Mayor Eric Adams said the 142-year-old bridge was spared major damage but at least 19 people aboard the ship needed medical treatment.
Two of the four people who suffered serious injuries later died, Adams announced on social media early Sunday.
The cause of the collision is currently under investigation.
The Source: This article includes reporting from FOX 5 NY's Michelle Ross and features observation from several videos posted to social media.