From my point of view, they hired because they had cheap money to invest, and then they fired when they no longer had it. This is entirely rational, IMHO. You can't time the market. Perhaps not moral or ethical but I don't see anything that would signal they don't know what they're doing. They don't care about you having a stable job, they care about moving projects forward, even if just for a while.