Airlines, gas stations and retailers use complex algorithms to adjust their prices in response to cost, demand and competition. WSJ’s Charity Scott explains what dynamic pricing is and why companies ...