Flight tracking data is publicly available. All this dude did was tweet it. There's no legal question here. If anyone is the idiot, it's Musk for going back on his word.
That and technically he was already aware of it and enabling it. Besides the fact that him tweeting location and time of his children (not his utterly unrelated aircraft) isn't a problem when he is doing it himself.