Question: why is ulysses in hell?
Answer: Dante would not have hadn't access to the Homeric works, only the passage in Book 2 of the Aeneid which tells the story of the Trojan horse trickery from against Ulysses' point of view and other stories circulating at the time. Therefore he places him in hell for his deception against the Trojan forces.