I can’t tell you for sure why Durian has such a different affect on people exactly, but there is something else that smells bad to some people and not to others and I would guess its for the same reason.
When some people eat asparagus, their pee smells really horrible for the next day or so. Other people can eat asparagus and they do not report have horrible smelling pee (you can test this yourself if you eat some). For a long time it was thought that the reason for this was that people had different versions of an enzyme that produced (or didin’t produce) the nasty smelling chemical in their urine. But more recently it was found the majority of people did infact produce the chemical and the difference was not production, but perception. Some people could smell it and think it smells bad, and some people can’t really smell it and therefore don’t really mind (You *could* test this yourself if you and your class don’t mind smelling each other’s pee, I wouldn’t advise it though!)
Recently it was found that a tiny change in DNA near the gene for a smell receptor is associated with the ability to smell asparagus pee. Because I work at a gene sequencing institute I tested myself for this change: I do have it and I can confirm that I do smell the asparagus in pee.
So it turns out that we all have different versions of genes for smelling stuff, and depending on what version we have, we smell things differently or not at all. There are a few other known examples of this, but there is a lot more to find (there are hundreds of different smell receptors, after all). So to get back to your question, I bet the people who like the smell of Durian fruit probably have different smell receptors to those who think its disgusting.