Welcome to e health forum.
The lump is probably a expanding hematoma, associated with a ruptured vein (probably due to inflammation or a blunt trauma). Other possible conditions that can present with thigh swelling and a bruise include vascular soft tissue tumors arising from the muscle or the blood vessels.
The best way ahead would be to undergo a MRI or a CT scan of the affected area, which will provide more clear details of the lesion.
In case, the hematoma is confirmed, drainage of the hematoma along with repair of the injured blood vessel would be done by a vascular surgeon.
You may continue to work with the treating doctors who can provide specific information and proper treatment.