Meta’s business is enabled by (practically) everyone who works for them, otherwise they wouldn’t pay them to work there. The storage compression algorithms are enabled by and contribute to the mission of the company.
If you’re comfortable knowing that your job is paid for by destroying society, and that your work makes that destruction a little more efficient, that’s fine. Storage algorithms are pretty low on the spectrum, and at least they may have some other uses if open sourced. For me, I wouldn’t do it, because I don’t want to contribute even in a small way to what Meta does. But others obviously can and do feel differently.