Based on the timeline and this source, how did U.S. foreign policy change in late 1941?

In passage Japan Attacks the United States (1941)

In late 1941, U.S. foreign policy changed dramatically after Japan attacked the United States at Pearl Harbor on December 7, 1941. This event led to the United States officially entering World War II and shifting from a policy of neutrality to one of active involvement in the conflict. The attack on Pearl Harbor prompted the U.S. to declare war on Japan the following day, marking a significant turning point in U.S. foreign policy.