
A panel facing east can get more direct sun in the morning, while one facing west can do better later. Put panels on both slopes and the roof can produce over a wider part of the day. They may reach their best output at different times.
Does that always make more energy?
The total depends on where the house is, the slope, and what shades it. Another direction can make more energy over the whole year in some places. The available roof area can also make using both sides worthwhile even if neither is the best single direction.
Why might the time of day matter?
A household can use a lot of electricity early or late instead of at noon. If the roof makes power when the house uses it, more of it can be used on site. How that affects the bill depends on the rate.
For more on what affects how much electricity a solar array makes, see Basics of Electric Utilities 101.