Dear student,
Due to least electropositive character or least basicity of Be, BeCO3 is less stable and hence decomposes to give BeO and CO2.
BeCO3→BeO + CO2
Since the decomposition reaction is reversible, therefore, to increase the stability of BeCO3 or to reverse the above equilibrium, BeCO3 is kept in an atmosphere of CO2.
Regards