The Supreme Court ruling does refer to a bonafide relationship. But it also says, "The facts of these cases illustrate the sort of relationship that qualifies. For individuals, a close familial relationship is required." So for individuals, the Supreme Court refers to the stricter "close familial relationship" criteria.

People wonder where the U.S. government got its criteria.  It appears to be the criteria for obtaining a green card.  The relatives eligible for a green card are spouse, child, parent, fiance, fiancee, widow or widower of a U.S. Citizen. Or spouse or child of a lawful permanent resident.
[ https://www.uscis.gov/greencard/eligibility-categories ]. 

The Executive Order also defines a close family member as a spouse, child, or parent of a U.S. citizen. Did the Supreme court refer to that criteria or its own?

"Close" based on love makes some sense on who should get a visa during the temporary ban. "Close" based on family tree is more objective and easier to administer.