Origin of volatiles in the main belt