When the president threatens to blow up the global economy, he is really playing to a domestic audience.