Factors such as taxes and government regulation, the market power of suppliers, the availability of substitute goods, and economic cycles can all shift the supply or demand curves or alter their shapes.