The people building the app didn’t know any better either.
Maybe at some point they realized how addictive and corrosive to society the app had become. But I don’t believe they set out with that as an end goal.