Change your query to below:
CREATE TRIGGER devolver_a_refugio2
AFTER DELETE ON adopciones
FOR EACH ROW
BEGIN
UPDATE animal
SET situacion = 'refugio'
WHERE id = OLD.id_animal;
END;
OLD.id_animal : It refers to the id_animal value from the deleted record in the adopciones table.