President Barack Obama said the killer who opened fire at a black church in South Carolina violated a "sacred place" in America's history and the mass shooting once again raised troubling questions about racial tension and easy access to firearms.