Start with whole numbers: 6÷2 asks how many 2s fit into 6, and the answer is 3. Fractions work the same way. 2÷31 asks how many thirds fit into 2. Each whole holds 3 thirds, so 2 wholes hold 6. Dividing by 31 turned out to be the same as multiplying by 3.
That is where flipping comes from: 3 is 13, the reciprocal of 31. For a divisor like 32, each piece is twice as big as a third, so only half as many fit: 2÷32=6÷2=3. Multiplying by the reciprocal 23 does both jobs at once, times 3 for the thirds and half for the pieces being twice as big: 2×23=3.
Because you are counting how many small pieces fit, dividing by a fraction less than 1 gives an answer bigger than the starting number. That surprises people, but it is just like asking how many quarters are in $5: there are 20, more than 5.
Watch the word "of". 31 of 2 cups is a share, so you multiply: 31×2=32 cup. "How many 31-cup scoops are in 2 cups?" is a fitting question, so you divide: 6 scoops. The same numbers give very different answers.
Think of it like this. Dividing by a fraction is filling small bottles from a jug. A 3-litre jug fills 6 bottles that hold 21 litre each: the smaller the bottle, the more bottles. Flipping 21 to 2 says the same thing, two bottles per litre. If a bottle holds more than the jug, you fill only part of one, and the answer is less than 1.
Core idea. Dividing by a fraction asks how many of that size fit, so you multiply by its reciprocal.