The prohibition on using bones and dung is established by hadith. Reports connect these items to provision for jinn, explaining their exclusion from cleansing materials.
Whether a prohibited item might physically remove filth and whether it is permitted to be used are separate legal questions; the ruling here prohibits its use.