Question:
The cap fell off the bottle because it was untwisted.

it
Answer:
The cap
Question:
Scribes were often hired by nobles in the Medieval period since they had the ability to read and write.

they
Answer:
Scribes
Question:
John tried to bake with Michael, but he said "I don't like kitchens!"

he
Answer:
Michael
Question:
Ryan won the presidency against Tom because he was not fit for office.

he
Answer:
Tom