Answer
Ulcerative Colitis, a chronic inflammatory bowel disease, was the underlying medical condition that prompted Shinzo Abe's resignations from the office of Prime Minister in 2007 and again in 2020. Abe's health struggles, particularly the recurrence of the condition, made it increasingly difficult for him to fulfill his duties effectively, leading to his decisions to step down and prioritize his well-being.