Why only 217 votes needed to elect a Speaker of the House?

I was curious and looked it up so I’ll save some of you the trouble.

Dave Cicilline resigned to become president and chief executive officer of the Rhode Island Foundation.

Chris Stewart resigned because his wife is having health issues.