There's pins on the back of it that go through the bodywork and protrude into the area behind the carpet aft of the B~pillar.
You can try tightening the clips, and if that doesn't work, pull the badge right off (clips will likely be destroyed) and obtain some 3M double sided trim/moulding tape and stick it on with that. (ideally with the pins still gouing through the sheetmetal to help keep alignment and offer a smidge of support)