Skończyły jej się pieniądze.

Skończyły mu/jej (etc (dative)) … = phrase = he/she (etc) ran out of …