He wasn't.
The house put him there?
It's a pretty messed up film, it's not really supposed to make total sense.
Apart from the blood down the stairs, the fridge door opening, the weird bear man, the two girls.......![]()
I don't think it was intended for the audience to think the kid had an overactive imagination.