It's all about the thing that you hate. What do you hate?
In sentence 1, the thing that you hate is "going out to dinner when I am so tired". That refers to the actual act of going out, so going out to dinner whilst being tired is the thing that you hate.
In sentence 2, you only hate the requirement, not the act. (You might hate the act as well, of course, but t