Maybe you have a fuzzy understanding of what logic actually means.
1. His mom took his phone.
2. He could not properly orient himself because he was in a strange land and did not have his phone.
3.He knocked on a stranger's door because he had no alternative.
Logic isn't immutable and it doesn't even exist without context. Maybe YOU have a fuzzy understanding of how logic is conceived. Yes, with what you quoted being true, it is logical to assume there's an imminent threat to tha child in question, IN THA CONTEXT OF
Him being in a majority white neighborhood
Tha effects of white supremacy on western society
White ppl in America having a history of getting away scot free when it comes to victimizing black ppl
However, if what was quoted occurred in tha context of us black men handling business and bringing cacs to task for their wrongdoings instead of passive victim blaming, then it wouldn't be logical to automatically assume imminent danger to tha child.