I want to know the answer to the following question:
What changed the Prussian relationship with Sweden?
All the background I'm provided with is that "Her Prussophile successor, Peter III, at once recalled Russian armies from Berlin (see: the Treaty of Saint Petersburg (1762)) and mediated Frederick's truce with Sweden.". Is that enough to answer the question?
Answer: yes