Musk gave the order. The debate is to what extent, if any, this was coordinated with or directed from the WH. But it either started with Musk, passed through Musk from the WH, or was decided in the WH with Musk involved in the discussion. Regardless, he's the one who actually gave the order since this is not a "the buck stops here" kind of administration.