The second hypothesis has to do with the type of casing that the pepperoni was put into, which can be either natural, collagen, or casing-free. When pepperoni is stripped of its casing before it's cooked, the pepperoni will lie flat, but pepperoni with the casing still on will shrink as it cooks and causes the edges to curl.