xfce4-panel sets it's depth based on presence of a compositor and doesn't update it later
looks like when xfce4-panel starts it sets it's depth to 32-bit only if there is a compositor running, so if a compositor was launched after the xfce4-panel you have to restart it to get transparency.
see https://github.com/yshui/picom/issues/973 for details.