Dear Student,
When barium chloride is added to hydrochloric acid no new substance is formed.
BaCl2 + HCl BaCl2 + HCl
When barium chloride is added to sulphuric acid, barium sulphate new precipitate is formed.
BaCl2 + H2SO4 BaSO4 + 2HCl
BaSO4 , white precipitate is formed.
Regards