Hepatitis is caused by a virus in the blood. Infection occurs through exposure to the virus. Hepatitis B and C cause liver inflammation.