Shortening attention spans had to be part of it. It was probably hard to compete with other shows that had rapid-fire jokes and shorter time to pay off. Building up complex characters and creative situations takes a little more time and probably loses eyeballs.
Sort of analogous to long form vs short form videos now (but obviously both are much further down that road in comparison).