The correct answer is:
a) created friction between the U.S. and Spain
This option is not considered an effect of the U.S.-Mexican War. The war primarily affected U.S.-Mexico relations and the internal dynamics of the U.S. regarding slavery and territorial expansion, rather than relating significantly to Spain.