I think, the Trojans thought that the siege by the Greeks was lifted and there would be no war any more. Again they thought that they were bringing in good luck for the city by presence of the wooden horse. They did not think of the impending danger.