Greetings! Whilst other contributors can definitely weigh in on the specifics of what happened between 1812-1917 that enabled such a reversal of international relations from the two nations "across the pond" so to speak, you might find this thread on the origins of the "Special Relationship" as a helpful starting point, particularly regarding the ambiguous origins of it in the 19th century.