Why did Japan use gas against the Chinese

I was thinking about my great grandfather (he was in the war) and I just thought why did Japan use gas against the Chinese