they were afraid
Possible meanings are 1) they were afraid, or 2) they were in awe. "Awe" is a feeling of wonder a person has when they see or experience something great or powerful.
who had given
"because he had given"
such authority
This refers to the authority to declare sins forgiven.