Does the word "offer" have the same definition in the next two sentences?

Offer resistance.

He offered his sympathy.
different meanings