Qatar says it will pull out of ceasefire talks between Israel and Hamas if they don't get serious about ending the fighting.