The cause of ulcerative colitis is still unknown. It can be caused by a bacteria or virus.