Once a Fortune 50 chief executive herself, Carly Fiorina is disgusted with how CEOs rushed to condemn Indiana’s new religious freedom law.

Mrs. Fiorina, who is weighing a bid for the 2016 Republican presidential nomination, called the week’s controversy over the Indiana statute the result of corporations bowing to “narrow special interests” rather than broad public anger.

CEOs like Apple Inc.’s Tim Cook, who publicly objected to the Indiana law, have engaged in “a level of hypocrisy here that really is unfortunate,” said Mrs. Fiorina, who was CEO of Hewlett-Packard from 1999 to 2005.