Orienting the circle tool to another axis

I can duplicate the results with the circle tool, but I can’t seem to do it with the rectangle tool.