If your fill valve is malfunctioning, your toilet may release too much water during flushing, resulting in spray. You can tell if it's malfunctioning by inspecting it for wear or damage, or by listening for a constant running sound when the toilet is not in use.