Q: Riley removed their hat because the sun was not out anymore. Given the context: Why did Riley do this?
A:
put away their hat