Aggregated physical links are logically just a single link. Accordingly, you configure VLANs, STP, frame size, etc on the logical link, not the physical ones. All physical links in a LAG trunk are required to run at the same speed. Physical interfaces normally lose any prior configuration when aggregated.
If you want to keep VLANs separate with multiple links you can't simply aggregate them. Using multiple spanning tree protocol (MSTP), it's possible to configure multiple MSTP instances with grouped VLANs, so you can utilize both links with separate VLANs. Redundancy is still provided since the MSTP instances reconverge on single link failure (with all required VLANs configured on the redundant interfaces).
And of course, you can also have multiple links with separate VLANs between two switches - note that you'd have to deactivate RSTP and MSTP unless MSTP is configured correctly for multiple instances (since RSTP and single-instance MSTP are VLAN-agnostic).