If you guessed they weren’t a purposeful stylish addition, then you were right. At the end of the 19th century, European clothing factories exported most of their produce abroad, and to make the most of the cargo hold space, the clothes were pressed down before shipping. The resulting creases on pants were almost impossible to get rid of. Later, they just became fashionable.