The phrase is casual and might not be suitable in formal situations or with authority figures. She's going to give me hell for arriving late again.
Pro Tip 2/3
Intensity Implied
It suggests someone is causing a strong, often negative, impact on another's life. Ever since the road closure, the commute has been giving everyone hell.
Pro Tip 3/3
Emotional Stress
The phrase can imply emotional stress, not just physical or logistical difficulties. His constant criticism is giving her hell and she's feeling overwhelmed.