When energy analysts and investors couldn’t figure out oil markets this year, they blamed one group: algorithmic traders. On various days over the first six months of 2017, even amid signs of tightening supply, oil prices fell sharply, eventually sinking into bear market territory. Such moves confounded longtime watchers of oil, who said…