According to Police, they opened fire to control the situation as the protesters had blocked the railway track at Rambukkana and started pelting stones at them.
Sri Lanka:1 Dead, 12 Injured As Police Opens Fire At Anti-Govt Protesters
(link to source)