Much of TTRPG design is based around randomness. We roll for random stats, encounters, reactions, morale, searching, listening, attacking, doing damage, treasure, etc.
This article will attempt to untangle what the point is, when it is beneficial, and when it is not...