Welcome to HCM.
The condition you are suffering from is called fleeting joint pain. This is usually one of the types in which rheumatic arthritis
presents. Gonococcal infection
may also present in a similar way.
This is not of viral origin.
You need detailed evaluation by an expert in that field to get all the blood tests done and other relevant investigations to arrive at a diagnosis. Of course inflammation (from whatever cause) is responsible for the pain. Serum uric acid level also needs to be checked to rule out Gout
Wish you all the best.