Merchant vessels typically used to carry a variety of artillery and small arms for defense against pirates and hostile navies. That practice largely ended when the UK and then the USA established global hegemony and secured the sea lines of communication for everyone. But now the USA is no longer willing or able to play that role, so either merchant vessels have to be able to defend themselves using deadly force again or else trade will largely cease along routes within range of shithole countries.