An online casino offers free money as an investment. It wants to make more members by offering bonus but at the same time it wants to get return on the investment.
The casino would want you to meet wagering requirements before you are allowed to withdraw your winnings from bonus. And these conditions could be very difficult to meet.