Grammatical pattern: it + VERB + somebody + INFINITIVE
The verbs in the list below follow this pattern.
amaze, anger, annoy, bother, bug, concern, delight, disturb, embarrass, pay, please, shock, surprise, terrify
See also the full discussion of the pattern it + VERB + somebody + INFINITIVE.