Why did NASA close?

They did not. NASA is still in operation.