Loss of determinate thing
ART. 1262. An obligation which consists in the delivery of a determinate thing shall be extinguished if it should be lost or destroyed without the fault of the debtor, and before he has incurred in delay.
When by law or stipulation, the obligor is liable even for fortuitous events, the loss of the thing does not extinguish the obligation, and he shall be responsible for damages. The same rule applies when the nature of the obligation requires the assumption of risk. (1182a)

a) when the law or stipulation expressly provides for liability even for fortuitous event; and
b) when the nature of obligation requires assumption of risk.
[1] Paragraph 2, Article 1189, Civil Code.
[2] De Leon. (2014). Obligations and Contracts.
[3] Rabuya. (2019). Obligations and Contracts.