Both explanations are now correct. Removing the sulfur will cause the reaction to favor the production of more sulfur, resulting in the forward reaction being favored and using up H2S. Similarly, removing heat will favor the production of more heat, causing the forward reaction to occur.