To attract new players. Sign-up bonuses serve as an inducement. The casino benefits because it has a new player; the new player benefits because they have increased their bankroll. There’s nothing nefarious about sign-up bonuses - both parties benefit.