An American aircraft carrier visited Malaysia while its three destroyer escorts docked in Singapore and Thailand.