So there were 14 generations from Abraham to David, 14 generations from David until the exile to Babylon, 14 generations from the exile until the Messiah.
Herod had sent men who had arrested John, tied him up, and put him in prison. Herod did that for Herodias, whom he had married. (She used to be his brother Philip’s wife.)
John spoke out against the ruler Herod because Herod had married his own sister-in-law, Herodias. He also spoke out against Herod for all the evil things he had done.