On participles: The adverbial form directly relates to the actions of the subject in the main clause, while the adjectival forms modify participial subjects or objects.

Compare:
"Смотреть на...