Question: why are ants scared of chalk?
Answer: Chalk is made of calcium carbonate, which is essentially ground-up seashells." SFGate mentioned scent as well, reporting that ants won't cross a chalk line "because it interferes with their ability to follow scent trails left by other ants."