Stock buybacks and paying dividends both accomplish the same thing: increasing value / returning value to shareholders. Dividends do so directly via direct payment, whereas stock buybacks do so indirectly via increased share price.
So why is it that stock buybacks are suddenly evil and everyone hates them, but dividends get a pass?