For energy its considered open.
I would think the bold is why its also considered closed.
"Earth's mass is variable, subject to both gain and loss due to the accretion of in-falling material, including micrometeorites and cosmic dust and the loss of hydrogen and helium gas, respectively. The combined effect is a net loss of material, estimated at 5.5×107 kg (5.4×104
long tons) per year. This amount is 10−17 of the total earth mass.[
citation needed] The 5.5×107 kg annual net loss is essentially due to 100,000 tons lost due to
atmospheric escape, and an average of 45,000 tons gained from in-falling dust and meteorites.
This is well within the mass uncertainty of 0.01% (6×1020 kg), so the estimated value of Earth's mass is unaffected by this factor."
en.m.wikipedia.org