Hematocele and pyocele appear as echogenic or complex fluid collections, whereas a hydrocele is anechoic.