Generation of high-energy neutral radiation in flare loops