In the past, women were not allowed to vote. Why were women allowed to vote now? Like what factor helped changed this?

They raised Hell to get the right to vote, and a constitutional amendments was passed to give them that right in US elections. Men in those days didn't think women were smart enough to vote.