Baquba is known for its religious and ethnic mix , and has been the scene of frequent violence .