Syntax in literature refers to the way in which words and sentences are placed together. Usually in the English language the syntax should follow a pattern of subject-verb-object agreement but sometimes authors play around with this to achieve a lyrical, rhythmic, rhetoric or questioning effect. It is not related to the act of choosing specific words or even the meaning of each word or the overall meanings conveyed by the sentences.
The sentence “The man drives the car” would follow normal syntax in the English language. By changing the syntax to “The car drives the man”, the sentence becomes awkward.