PDF document contains pages turned upside down

Hi
Like in the topic. All pages are rotated 180 degrees. What may be the reason?