What is the ruling on speaking while relieving oneself?
It is disliked for one relieving himself to speak while doing so, except out of necessity. And Allah the Almighty knows best.
If the bleeding ceases after 40 days following childbirth, but then returns intermittently during two days of fasting, what is the ruling?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
Whenever the post-natal bleeding (Nifas) ceases and the woman is certain it will not return, she has become pure; therefore, she must perform the ritual bath (Ghusl) and resume praying and fasting. However, if the blood returns within fifteen days of its cessation and before sixty days have passed since the delivery, the ruling of Nifas applies once again. Consequently, any fasting or prayer performed during that interval of purity is rendered invalid; she must make up for the missed fasts of those days, but she is not required to make up for the prayers. And Allah the Exalted knows best.
Can I start fasting based on the moon sighting of another country?
You must follow the moon sighting of the country you are in.
What is the ruling on wiping the white area behind the ears instead of wiping the head?
The obligation in ablution is to wipe some of the head; it is not a condition to wipe all of it. Wiping the white area behind the ears suffices for that. And Allah the almighty knows best.