Is the word "give" used in the same way in the following two sentences?

Give an excuse.

The roof finally gave under the weight of the ice.
different meanings