Prior to the World Wars, European countries were generally preoccupied with creating colonial empires in Africa and Asia and not relations with North America.
The experience of having American and Canadian troops fighting with British, French, and other Europeans in Europe during the wars fundamentally changed this situation.