How it works
The pattern here is “become ~”. 病気 (sick) takes に (to) to mark the state being entered, then なる (become) carries the change — “become sick”. The verb is in polite past なりました (became), where 〜ました ((polite past)) is the polite, finished form.