There could be few reasons, the most common one is that the cheesecake didn't have enough time to set. Do not rush the chilling process, and allow at least 3 hours for the cake to set in the fridge (overnight chill is always best). Try not to overmix the filling, as it can result in too watery texture, which can also cause trouble with the right consistency of the cheesecake.