Why had Herod imprisoned John the Baptist?

John had denounced Herod’s marriage to Herodias
Herod rejected John’s teaching
Herod wanted to see a miracle by John
John was Jesus’ cousin