Marriage creates a structured life outside of work that gives PhDs an anchor to return to periodically. This leads to better long term and consistent progress.
Stephen King describes his success in writing in part due to his successful marriage. There may be some similarities there.