Usually genetically, meaning you have to be born with it to have it. But it can also be acquired if your body forms antibodies to the clotting factors in your bloodstream.
Mumpsis transmitted by saliva produced in the mouth and leaks from the nose and throat of infected individuals and enters the body through the airways.