Do you know for sure that they gained fat? I noticed that sometimes I would pinch differently. Sometimes more or less. Redo the test 3 times and take an average.
Also if you are using a hand held fat tester. Electronic then they differ so much anyway. Always best to use them in the morning on an empty stomach. Or at least always at the same time and as well take it three times or more and average it out.