The questions were aimed at finding out, whether ones work ethics and attitude matches with that of the team, rather than merely catching you off-guard by building absurd scenarios.
This way, the questions also allowed the interviewee to learn something about the company, the team and what they are committing themselves to.