Some reactions turn out to be exothermic or endothermic. But why does this occur? Why do some reactions need energy to bond but some release energy to bond? Also how to determine whether the reaction is going to be endothermic or exothermic easily? Is there any law for this?