I feel like it's more of a coincidence and while I don't consider a Trump to be that smart, he sure as hell knows what insider trading is.
From Gizmodo:
"Trump fired off his new F-35 tweet just hours after US Defense Secretary Ash Carter visited Israel to help the country welcome the arrival of the first two F-35 jets it purchased from the US government. Israel has ordered 50 of the planes from the US at more than $100 million each. The aircraft are supposed to help Israel maintain a competitive edge over other countries in Middle East, and Israel is the first US ally to receive the plane. It’s unclear if Trump intended to undermine efforts under Obama to build a next generation fighter jet, or simply to draw attention to an already controversial situation."
The controversial situation being that politicians have been claiming for years that the program is too expensive and "shady." I think it's the most expensive Pentagon program.