I leave you in the attached image the answers to the question.
Remember that when we talk about desire or uncertainty we use the subjunctive mood.
In the first two sentences the subjunctive mood is used because the subjects of the sentences use it in a strange way; Example: Was it weird...?
In the last two sentences, the subjunctive mood is used because the subjects congratulate a person for an achievement that they did not expect to happen.