Why can't the account password be same as the iCloud password?
Absent any explicit statement from Apple, it's as good as it gets: The reason it enforces different passwords is because it's a good security practice.

The fact you are able to change it later shows that they haven't implemented cross-checking in the later stage but it also shows there are no technical reasons why it has to be the way it is.