Vinegar is an acidic solution containing acetic acid, which reacts with the eggshell and protonates its proteins to allow the dye to bind effectively. Neutrality or neutralization of water would not provide the necessary acidic environment for this chemical process.