Does the theater set ticket prices or is it the movie company that distributes it?

The movie company sets a price for the film rental to that particular theater. The theater sets a ticket price to cover the rental cost plus a decent profit over and above that.