I have trouble to understand when a preposition belongs to the verb and when it belongs to the object:
We drink beer in Spain.
We drink beer of Spain.
In the first example sentence, the "in Spain" belongs to the verb. So I could change the sentence to:
In Spain we drink beer.
In the other example, the "of Spain" belongs to the object. So it is not possible to change that sentence in the same way.
What is the name of the grammar for these two cases? Or what are the rules to analyse this? Has "of" some special rules or isn't a preposition in this case?