Who owns files in a group folder?

Files created in a group folder are owned by the user that creates them or by the group folder itself?

If user “U” creates a file in a group folder “GF”, what happens if U stops belonging to a group that has access to GF?
What if U is deleted from the system altogether?