I don't see how the surrounding verses lead one to think about science; that sounds like eisegesis to me (reading a matter into the text).
Perhaps God conceals a matter to get kings exercised in searching for it. Biblical truths, for example, are scattered far and wide in the scriptures and we must do much hunting to pull the pieces together. In support of this idea, 2 Kings 22 seems to indicate that God expected kings to be familiar with the word of God. See also 2 Kings 23:25, in which king Josiah followed the Law of Moses with all his heart:
Before him there was no king like him, who turned to the Lord with all his heart and with all his soul and with all his might, according to all the Law of Moses, nor did any like him arise after him.
It was to be read every seven years to all the people:
Then Moses wrote this law and gave it to the priests, the sons of Levi, who carried the ark of the covenant of the Lord, and to all the elders of Israel. And Moses commanded them, “At the end of every seven years, at the set time in the year of release, at the Feast of Booths, when all Israel comes to appear before the Lord your God at the place that he will choose, you shall read this law before all Israel in their hearing. Assemble the people, men, women, and little ones, and the sojourner within your towns, that they may hear and learn to fear the Lord your God, and be careful to do all the words of this law, and that their children, who have not known it, may hear and learn to fear the Lord your God, as long as you live in the land that you are going over the Jordan to possess.”
In conclusion, it's possible the Lord has hidden gems in His Word and rewards those who search diligently. Many pastors are aware of this fact; why not kings?