Depending on the county, that IM app could WhatsApp , WeChat , telegram, Douyin or something else. You don’t know what the other person uses if any at all.
SMS and phone just works out of the box everywhere and given a phone number the both likely will always work.
If you were traveling abroad you would put a mobile roaming plan in the first place. It is not that expensive.
I am not that big traveller perhaps do 5-6 international trips a year to few countries on my standard T-Mobile roaming plan I get 5GB data unlimited calls and texts on roaming almost in every country I visit out of the box no extra cost.
It is just $10 extra per month, It is only expensive if you travel without doing that small change
WhatsApp would need internet to work, WiFi is not ubiquitous everywhere or easy to use, many public ones have some captive app that needs something or other like local phone number - I have seen in some airports(!).
To get reliable internet on your phone abroad you need data roaming in the first place, if you have that then there is no benefits of WhatsApp over call/sms.
I don’t have a problem if there is extra communication or features in their IM workflow versus sms or voice , but places just assume you have what they use although you are not from there even in tourist friendly places, that is just rude.