There's nothing wrong with working later / longer from time to time, particularly when you're hyper-focused on a problem.
But making a habit of it -- or doing it out of obligation -- could be a sign that something is off (e.g. with one's time management or organizational skills, with one's life balance / priorities, or one's employer).
But making a habit of it -- or doing it out of obligation -- could be a sign that something is off (e.g. with one's time management or organizational skills, with one's life balance / priorities, or one's employer).