Why in the past were European ships built with high wooden "castles" fore and aft?
to have better view
to manage the deck more easily
to improve ship defense
to improve ship stability
These were built to better resist boarding, commonly used in the naval warfare (especially by pirates). Boarders needed to attack these castles with great difficulty, while archers or harquebusiers could sweep the enemy decks.
reach: rather globalhistorymilitarynaval warfarenavysea battlesshipstechnology
Answers by country
to have better view
to manage the deck more easily
to improve ship defense
to improve ship stability
answers
 Egypt
Egypt13
 Austria
Austria10
 Germany
Germany117
 the Netherlands
the Netherlands38
 Greece
Greece24
 South Africa
South Africa12
 Republic of Ireland
Republic of Ireland25
 Israel
Israel10
 Canada
Canada39
 New Zealand
New Zealand71
 Singapore
Singapore11
 Poland
Poland17381
 the United Kingdom
the United Kingdom235
 Australia
Australia48
 Sweden
Sweden15
 the United States
the United States547
 France
France11
 India
India135
 the Philippines
the Philippines27
 Unknown
Unknown16