Why is Philippines named Philippines?

The Philippines was named after King Philip II of Spain in the 16th century by Ruy Lopez de Villalobos. At the time of the naming, Philip was Crown Prince of Spain.
NOTE: When the Philippines was named, Philip II of Spain was still a prince and not a king. Therefore, Philippines was actually named after a prince at that time.