The infection trichomoniasis can indeed be transmitted through other way besides just sexual contact.
So even if you were not sexually active or not sexually active you can still sometimes get the trichomoniasis infection.
Some ways that you can get the trichomoniasis infection besides sexual contact are from contact with damp or moist objects such as towels, wet clothing and even sitting on a toilet seat that has the bacteria that causes the infection.
Most cases of trichomoniasis are caused through sexual contact and are sexually transmitted but you can sometimes get it without having sex or having any sexual contact.
Some people have the infection of trichomoniasis and are unaware of it because they may not show any symptoms.