Hazardous tools: the emergence of reasoning in human tool use