Although, in some cases, for example hepatitis, jaundice can occur due to virus infection, sometimes it can also be caused by an unhygienic lifestyle or excessive alcohol consumption for a long time.