Call the 10 people A, B, C, D, E, F, G, H, I, J
With 10 players, at any one time there will be 2 groups of 3 and one group of 4
To play everyone once each player has to play against 9 others and a player can never play with the same person twice.
So for example A has to play with B &C, then with D &E, then with F&G then with H,I &J. Each player needs to be in 3 groups of 3 (himself plus 2) and one group of 4 (himself plus 3)
Suppose on day 1 the groups are:
A B C, DEF and GHIJ
On day 2: A has to find 2 new partners and goes with E. They need a third player. Because A has already played with B & C , and D has already played with E&F, then they have to choose one of GHI&J. Let's suppose it is G. So the group is AEG
Also on day 2 B chooses 2 partners. He chooses D (from day 1 group DEF) and H. So the group is BDH.
That leaves CFIJ as the foursome. But I and J have already played together. You can't add I or J to the other groups either as they have already played G and H.