In the social media era, pretty much everything is permanent public record. Even if you delete that questionable Tweet, someone probably made a screenshot of it. So, it's rather ironic that today's Texas expungement and sealing laws are broader than ever.
Punishment for a criminal offense does not end once the cell doors open or the period of probation ends. In fact, sometimes the collateral consequences can be just as bad, or even worse, than the direct consequences. Even a minor criminal conviction often makes it hard to get a good job, find a nice place to love, get financial aid for school, or do other things that most people take for granted.