Draco Malfoy and Harry Potter both suffer greatly from the war and come to an odd sort agreement which puts them in the position where they have to get... closer.
Draco and Harry have a rather rough past but with wars come changes. Some are definitely bad but some are really good and that is what's important. We wouldn't fight for the bad times to get worse. We fight for good.