The Federal Trade Commission is accusing Amazon of using an algorithm to raise prices for some of its products, thereby causing other shopping sites to do the same.