I vote for a loose connection if that is the spring from a wire nut shown.
A gfi is going to trip from an imbalance between hot and neutral current, not a loose connection.
A gfi is going to trip from an imbalance between hot and neutral current, not a loose connection.