Custom mesh texture rotated?

I made a custom hex shaped chip. When I imported the texture the bottom of the chip was rotated sixty degrees. I can fix this is photoshop by altering the texture but why does this happen and is there anything I can do about it?