Options live on the product page in admin, in the Variants card. Click Add options like size or color, name the option, then type its values. Each value box opens the next one.
Shopify creates one variant per combination: Size times Grind. Two sizes and two grinds make four variants, each with its own price, SKU and stock. A product can have up to three options.
Order matters. The first option you add is the first one in , and values come back in the order you typed them. Put the decision customers make first, first.
Click Done before Save. Done closes the option editor and generates the variants; that list is what your Liquid will loop.