Why did the pound sterling lose it reserve status to USD? Was this due to some agreement during the Bretton Woods negotiations?
As written, this question has an extremely wide scope, and an answer would be the length of a book. I will attempt a narrow answer.
People use “reserve currency” at present in a very loose manner. In the context of this question, it had a very specific meaning. Currencies were pegged, ultimately to gold. Currencies that had inadequate gold reserves used “strong” gold-backed currencies as extra backing for their pegs. Hence, the strong currencies were used as reserves.
Britain lost almost all of its gold reserves in World War II, in order to finance the war effort. (The process started earlier, with large losses in World War I.) Without adequate gold reserves of its own, the pound was not a credible backing for another country’s gold peg. Hence, it lost reserve status.
The Bretton Woods agreement enshrined the financial reality of the post-war system: the U.S. has accumulated almost all of the official gold reserves as a result of supplying the warring countries. The system was set so that the US dollar was gold-backed, and other currencies were backed by the USD.
Anything beyond this outline turns into a financial history of 1910-1950, for which there are many choices.