In this case you could change the first sentence to "Don't you want to congratulate me?" to make it sound more natural. The sentences mean different things. The first (Don't you want to congratulate me?) is asking for congratulation; the second (You don't want to congratulate me, huh?) is almost teasing person B, who either really does not want congratulate person A or is just distracted. That's how they strike me, anyway.