Question: why do cumulus clouds form in the afternoon?
Answer: These clouds form due to convection or vertical motion in the atmosphere. Typically this occurs during the day due to sunshine heating the air near the surface but can occur at night provided there is another process that initiates the vertical motion given the lack of sunshine.