Obama scolds lawmakers for reticence in passing gun control