You get too comfortable
Working from home is only for people who can apply discipline and practice to their daily habits. If you find yourself resenting the office workplace, it may be because you've gotten too comfortable just getting by at home. Try challenging yourself to hit a new goal or complete a project to jump-start your competitive spirit. Your career depends on it.