Unfortunately the industry has a ha it of doing this. A project finishes and they let go of a bunch of the staff, this means quite a few good developers are looking for work. Since this happens so often when they staff back up for the next project there is plenty of good talent to pick up.
There is the major downside of loss of institutional knowledge, but its the price they are willing to pay I guess.