The composer was trying to make a point and get people thinking and talking ... (one hopes in that order )looks like he succeeded.
wow
P. S. The song comes from the musical play "South Pacific" written just after WW II. Different times, different attitudes.