Why are cassette case inserts named with letters?

The letter refers to the shape seen when you view the edge of the insert. Its folded shape looks like a J, an O, or a U. J-Cards and U-Cards may include extra panels folded inside.