The author postulates that Ted hates David because David got married while Ted remained alone.
Ted does hate Dave and he is very happy for him on his marriage.
Ted doesn't hate Dave and he is very happy for him on his marriage. 