Why did God tell Hosea to marry a prostitute (Hosea 1:2)?

This article has been translated into the following languages:

Indonesia