Sarah was prophet Ibrahim’s (as) cousin thus was blood related.
The beginning part of verse 33:33 addresses the women where as the the grammatical structure changes from feminine to masculine when it addresses the Ahl ul Bayt (as). See this video below for more detailed grammatical explanation if you like
https://youtu.be/3RFY1mImv9c