Subset Product of Subgroups/Necessary Condition

Theorem
Let $\left({G, \circ}\right)$ be a group.

Let $H, K$ be subgroups of $G$.

Let $H \circ K$ be a subgroup of $G$.

Then $H$ and $K$ are permutable, i.e.:


 * $H \circ K = K \circ H$

where $H \circ K$ denotes subset product.