What is the meaning of Matthew 10:34-36?

34 Think not that I am come to send peace on earth: I came not to send peace, but a sword. 35 For I am come to set a man at variance against his father, and the daughter against her mother, and the daughter in law against her mother in law. 36 And a man’s foes shall be they of his own household. (Matthew 10:34-36 KJV)

William Burkitt’s Commentary

We must distinguish here betwixt the intentional aim of Christ’s coming, and the accidental event of it. His intentional aim was to propagate and promote peace in the world; but through the corruption of man’s nature, the accidental event of his coming is war and division: not that these are the genuine and natural fruits of the gospel, but occasional and accidental only.

Note, That the preaching of the gospel, and setting up the kingdom of Christ in the world, though it be not the natural cause, yet it is the accidental occasion, of much of that war and tumult, of much of that distraction and confusion, which the world abounds with.