The Djinn knew that the horse was complaining against the camel because he was the in charge of all deserts and knew about everything happening in relation to his deserts.