Eight tourists stand at a railing looking at an attraction.
The attraction drew the attention of the tourists
Looking at the attraction would require the attention of the tourists.
Sentence 2 is a simplification of sentence 1, looking at something is to pay attention to it.
looking at an attraction is inferred as attraction drew the attention