Firstly, the British original intention was to come down to SEA to look for a port in order to secure its trade route with the lucrative market in China. The British main motivation was to make sure that it was able to carry out trade with China smoothly and safely by setting up a port in between its colony, India, and China. This would mean that the British needed to establish a port that can secure the trade route between India and China and thus, the mid-point between India and China lies in the SEA region. For example, the British took the Straits Settlements first as they all lie within touching distance of the main trading route between India and China. The Straits Settlements consisted of costal islands or cities with strategic locations like Penang, Singapore and Melaka. Penang was taken over by the British in 1786, Melaka in 1795 and then in 1824 while Singapore was colonized in 1819. The Straits Settlements were the first colonies that were taken by the British who set up ports in the respective cities. This showed that the main reason that the British wanted to come to SEA was to actually establish ports that could bring in more economic and monetary benefits to the country as these ports were located at strategic locations that could secure the main trading route between India and China. Therefore, it can be clearly seen that the motivation that sparked the western powers to explore SEA was its strategic location for trading purposes.
Secondly, after gaining power in the various SEA colonies, the British started to implement policies that brought in even more monetary benefits for themselves and in so doing, neglected the welfare of the locals. For example, after colonizing Singapore, the British introduced Opium smoking at a low price to the locals in order to make them be addicted to it. After the locals are addicted to the Opium, the British taxed the Opium heavily and the locals have no choice but to pay due to the physical demands of their body as they are already used to smoking Opium daily. This whole Opium Tax was a plan devised by the British to bring in more trading merchants to Singapore and also to earn more from the Opium by taxing it heavily as it knew that it would be hard for the locals to quit Opium once they are addicted to it. This showed that the British main interest in coming to SEA was still to gain economic and monetary benefits through various means. Although this may not seem to be trading, it was the British who purposely introduced Opium smoking to the locals in order to earn extra money from them in the future. Therefore, it is clearly shown that the British were only interested in the economic benefits when they first explored SEA.
Lastly, however, in the later part of the 19th century, the British were conquering land in SEA more out of Imperial Pride and to also maintain the monopoly in SEA over the rest of the western powers. For example, in 1887, a British Consul-general, Hugh Clifford, was appointed as the British agent in Pahang and subsequently turned into a resident in 1888. Pahang was not on any of the trade routes used by the Straits Settlements whose merchants therefore had no direct interest in the state. Furthermore, Pahang had no export trade and no Chinese immigration on a large scale, and therefore no need for British interest. However, Pahang as a large state will be socially unstable and chaos may erupt as the Sultan is weak to control his whole state. Therefore, the British decided to intervene with a resident in order to ensure that the Malayan region is politically stable and no chaos will erupt to disrupt its trading interests. In addition, the British could display its Imperial Might and Pride to the other western powers by taking over Pahang. This would ensure that the British remain control over the monopoly in SEA. Therefore, it can be seen that during the later stages of the century, the British were already economically stable and just needed to maintain the security of its trading interests, without the need to look for new ports.
In conclusion, although the British did take certain Malaya states without trading motivations, the British initial motivation to come and explore SEA was due to the need to secure the trade route between India and China. Therefore, I believe that trade was the main reason as to why the western powers came to SEA in the 18th to 19th centuries.