Back when I worked my last job. I’d find that when work was scarce (pretty common mostly thanks to an impenetrable bureaucracy) My brain would wake up and I would suddenly feel motivated to think about and work on new projects, then I’d get home and for some reason not have the energy and just pass out instead.
Perhaps a contributing factor is that when stuck at work you have a limited range of options that don't include passing out whereas at home you have fewer restraints and more competition from the easy solutions