Here's why:
* Deserted implies a place that was once inhabited but is now empty.
* Haunted suggests a presence of something unseen, often associated with spirits or ghosts.
* House is a tangible, physical place that can be deserted and haunted.
So the complete sentence would be: "The deserted house certainly haunted."