Flag Collision Issues

Hello everyone. Would anyone be able to tell me why this flag at the top is stuck in this position when I apply cloth? Thanks