Question: why fumaric acid is more stable?
Answer: Fumaric acid being the trans isomer will have the least steric hindrance as the carboxylic acid groups will be on the different sides of the double bonds causing the least electronic repulsion. Hence will be more stable as compared to Maleic acid.